package com.evil.application.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.evil.application.pojo.entity.FavouriteApplication;

import java.util.List;

/**
 * 用户常用应用表
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
public interface FavouriteApplicationService extends IService<FavouriteApplication> {

    int batchInsert(List<FavouriteApplication> list);

    /**
     * 添加/移除常用
     *
     * @param applicationId applicationId
     */
    void favourite(Long applicationId, Integer favourite);

}

